package org.jugile.demo.domain;


import java.lang.reflect.Method;
import org.jugile.util.*;
import org.jugile.daims.BoCollection;

import org.jugile.demo.common.*;


public class LibraryCollection extends BoCollection<Library> {

	public LibraryCollection() { super(Library.class); }

	
	// ----- set operations ------
	public LibraryCollection and(LibraryCollection oc) {
		return (LibraryCollection)and(new LibraryCollection(), oc);
	}
	public LibraryCollection or(LibraryCollection oc) {
		return (LibraryCollection)or(new LibraryCollection(), oc);
	}	
	public LibraryCollection xor(LibraryCollection oc) {
		return (LibraryCollection)xor(new LibraryCollection(), oc);
	}	
	public LibraryCollection not(LibraryCollection oc) {
		return (LibraryCollection)not(new LibraryCollection(), oc);
	}	

	public LibraryCollection keep(String mname) {
		return (LibraryCollection)keep(new LibraryCollection(), mname);
	}	
	public LibraryCollection not(String mname) {
		return (LibraryCollection)not(new LibraryCollection(), mname);
	}	


	// ---- attribute finders ----
	public LibraryCollection byName(String v) { q("==", "name", v); return this; }
	public LibraryCollection byName(String op, String v) { q(op, "name", v); return this; }
	public LibraryCollection byNum(int v) { q("==", "num", v); return this; }
	public LibraryCollection byNum(String op, int v) { q(op, "num", v); return this; }
	public LibraryCollection byDesc(String v) { q("==", "desc", v); return this; }
	public LibraryCollection byDesc(String op, String v) { q(op, "desc", v); return this; }
	public LibraryCollection byName_fi(String v) { q("==", "name_fi", v); return this; }
	public LibraryCollection byName_fi(String op, String v) { q(op, "name_fi", v); return this; }
	public LibraryCollection byName_sv(String v) { q("==", "name_sv", v); return this; }
	public LibraryCollection byName_sv(String op, String v) { q(op, "name_sv", v); return this; }
	public LibraryCollection byDesc_fi(String v) { q("==", "desc_fi", v); return this; }
	public LibraryCollection byDesc_fi(String op, String v) { q(op, "desc_fi", v); return this; }
	public LibraryCollection byDesc_sv(String v) { q("==", "desc_sv", v); return this; }
	public LibraryCollection byDesc_sv(String op, String v) { q(op, "desc_sv", v); return this; }
 
 
	// --- n - 1 ----
 

	// ---- filtering finders ----
 
	
}